package me.snowtech.array;

public class HighArrayApp {
	public static void main(String[] args) {
		int maxSize = 100;
		HighArray arr = new HighArray(maxSize);
		
		arr.insert(66);
		arr.insert(25);
		arr.insert(33);
		arr.insert(12);
		arr.insert(18);
		arr.insert(88);
		arr.insert(90);
		arr.insert(34);
		arr.insert(19);
		arr.insert(55);
		
		arr.display();
		
		int searchKey = 35;
		
		if(arr.find(searchKey)){
			System.out.println("Find " + searchKey);
		}else{
			System.out.println("Cann't find " + searchKey);
		}
		
		arr.delete(00);
		arr.delete(25);
		arr.delete(55);
		
		arr.display();
	}
}
